// 第一步导入请求模块
import request from '@/util/request'
// 请求模板---视图发送请求时只需要传递一个对象即可
export function getHealthList() {
    return request({
        method: 'GET',
        url: '/hospital/health/list',
    })
}

export function getHealthSeachList(params) {
    return request({
        method: 'GET',
        url: '/hospital/health/seach/list',
        data: { params }
    })
}
// 删除医生信息
export function getHealthRemove(params) {
    return request({
        method: 'DELETE',
        url: '/hospital/health/remove/detail',
        data: {params}
    })
}

export function getHealthDetail(params) {
    return request({
        method: 'GET',
        url: '/hospital/health/detail',
        data: {params}
    })
}